package J1_11;

public class J111task1 {
    public static void main(String[] args) {
        int max,min;
        max=min=0;
        for (int i=1;i<=100;i++){
            max=i;
            min=100-i;
            if (max+min==100&&max%3+min*3==100){
                System.out.println(max);
                System.out.println(min);
            }
        }
    }
}
